import Vue from 'vue'
import Router from 'vue-router'

import Login from '../components/user/Login'
import Register from '../components/user/Register'
import BigScreen from '../components/BigScreen'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/bigScreen',
      name: 'BigScreen',
      component: BigScreen
    },
    {
      path: '/exit',
      redirect: '/login'
    },

  ]
})
